

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>洗车订单详情</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/public/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/public/layuiadmin/style/admin.css" media="all">
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 15px;">
            <form class="layui-form" action="" lay-filter="component-form-group" style="height: 100%">


                <div class="layui-form-item">
                    <table style="width: 400px; margin-left: 40px;" border="1">
                        <tr>
                            <td>用户编号</td>
                            <td>手机号</td>
                        </tr>
                        <tr>
                            <td>${userOrder.userId}</td>
                            <td>${userOrder.userMobile}</td>
                        </tr>
                    </table>
                </div>
                <div class="layui-form-item">
                    <table style="width: 250px; margin-left: 40px;" border="1">
                        <tr>
                            <td>车牌号</td>
                            <td>车型</td>
                        </tr>
                        <tr>
                            <td>${userOrder.carNo}</td>
                            <td>${userOrder.carType}</td>
                        </tr>
                    </table>
                </div>
                <div class="layui-form-item">
                    <table style="width: 600px; margin-left: 40px;" border="1">
                        <tr>
                            <td>站点编号</td>
                            <td>站点名称</td>
                            <td>洗车订单号</td>
                            <td>商品名称</td>
                        </tr>
                        <tr>
                            <td>${userOrder.stationId}</td>
                            <td>${userOrder.stationName}</td>
                            <td>${userOrder.orderNo}</td>
                            <td>${userOrder.goodsName}</td>
                        </tr>
                    </table>
                </div>

                <div class="layui-form-item" style="padding-left: 40px;">
                    支付时间：
                #{if userOrder?.payinTime >0 }
                ${new Date(userOrder?.payinTime).format('yyyy-MM-dd HH:mm:ss')}
                #{/if}
                </div>

                <div class="layui-form-item">
                    <table style="width: 400px; margin-left: 40px;" border="1">
                        <tr>
                            <td>服务价格</td>
                            <td>优惠金额</td>
                            <td>实际支付</td>
                            <td>余额折扣</td>
                        #{if userOrder.couponId > 0 }
                            <td>优惠券ID</td>
                        #{/if}
                        </tr>
                        <tr>
                            <td>${userOrder.price}</td>
                            <td>${userOrder.discountAmount}</td>
                            <td>${userOrder.amount}</td>
                            <td>${userOrder.discountRate}</td>
                        #{if userOrder.couponId > 0 }
                            <td>${userOrder.couponId}</td>
                        #{/if}
                        </tr>
                    </table>
                </div>
                <div class="layui-form-item">

                    <table style="width: 800px; margin-left: 40px;" border="1">
                        <tr>
                            <td>入闸时间</td>
                            <td>出闸时间</td>
                            <td>开始洗车时间</td>
                            <td>洗车完成时间</td>
                        </tr>
                        <tr>
                            <td>
                            #{if userOrder?.enterTime >0 }
                            ${new Date(userOrder?.enterTime).format('yyyy-MM-dd HH:mm:ss')}
                            #{/if}
                            </td>
                            <td>
                            #{if userOrder?.exitTime >0 }
                            ${new Date(userOrder?.exitTime).format('yyyy-MM-dd HH:mm:ss')}
                            #{/if}
                            </td>
                            <td>
                            #{if userOrder?.startTime >0 }
                            ${new Date(userOrder?.startTime).format('yyyy-MM-dd HH:mm:ss')}
                            #{/if}
                            </td>
                            <td>
                            #{if userOrder?.finishTime >0 }
                            ${new Date(userOrder?.finishTime).format('yyyy-MM-dd HH:mm:ss')}
                            #{/if}
                            </td>
                        </tr>
                    </table>
                </div>
                <div class="layui-form-item" style="padding-left: 40px;">
                    完成情况：${userOrder.statusName}
                </div>
                #{if userOrder.status==6}
                    <div class="layui-form-item" style="padding-left: 40px;">
                        异常原因：${userOrder.failReasonName}
                    </div>
                #{/if}
                <div class="layui-form-item" style="padding-left: 40px;">
                   退款状态：${userOrder.refundStatusName}
                </div>
                #{if userOrder.refundStatus==2}

                    <div class="layui-form-item">
                        <table style="width: 800px; margin-left: 40px;" border="1">
                            <tr>
                                <td>退款审核</td>
                                <td>退款单号</td>
                                <td>退款金额</td>
                                <td>退款方式</td>
                                <td>退款时间</td>
                            </tr>
                            <tr>
                                <td>${userOrder.refundAuditName}</td>
                                <td>${userOrder.refundTradeNo}</td>
                                <td>${userOrder.refundFee}</td>
                                <td>${userOrder.refundPayTypeName}</td>
                                <td>
                               #{if userOrder?.refundTime >0 }
                                ${new Date(userOrder?.refundTime).format('yyyy-MM-dd HH:mm:ss')}
                               #{/if}
                                </td>
                            </tr>
                        </table>
                    </div>
                #{/if}
            </form>
        </div>
    </div>
</div>
<script src="/public/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '/public/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form', 'laydate','layer','element'], function(){
        var $ = layui.$
                ,admin = layui.admin
                ,element = layui.element
                ,layer = layui.layer
                ,laydate = layui.laydate
                ,form = layui.form;
    });

</script>
</body>
</html>
